
import java.io.*;
import java.util.*;

/**
 * 
 */
public class School {

    private ArrayList<Department> departments;

    private ArrayList<Student> students;

    public School(ArrayList<Department> departments, ArrayList<Student> students) throws Exception {

        if (departments.size() <= 0){
            throw new Exception("学院必须由一到多个系组成！");
        }

        this.departments = departments;
        this.students = students;
    }

}